package com.yqfk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yqfk
 * @since 2022-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="YPun对象", description="")
public class YPun implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "打卡id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "打卡时间")
    private Date time;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "个人健康状态")
    private String perSta;

    @ApiModelProperty(value = "家庭成员有无发烧")
    private String famSta;

    @TableField(exist = false)
    private YUser yUser;

}
